import request from '@/api/request'

function orderDetail(data) {
    return request({
        url: '/bufan/order/detailAction',
        method: 'get',
        data
    })
}

function orderSubmit(data) {
    return request({
        url: '/bufan/order/submitAction',
        method: 'post',
        data
    })
}

export default ({
    orderDetail,
    orderSubmit
})